<div class="dialog modal fade in" id="saveUser" aria-hidden="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">用户添加</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="saveForm" method="post" role="form">
                    <input id="uid" name="uid" type="hidden" value="">
                    <div class="form-horizontal">
                        <div class="form-group">
                            <label class="control-label col-md-3" for="name">用户名称</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="name" name="name" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="pass">密码</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="pass" name="pass" type="password" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="repass">重复密码</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="repass" name="repass" type="password" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="email">电子邮箱</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="email" name="email" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="telphone">联系电话</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="telphone" name="telphone" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="status">状态</label>
                            <div class="col-md-9">
                                <select id="status" name="status" class="form-control">
                                    <option value="1">启用</option>
                                    <option value="0">禁用</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="functions">所属角色</label>
                            <input id="rid" type="hidden" value="">
                            <input id="rname" name="rname" type="hidden" value="">
                            <div class="col-md-9" id="roles"></div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="functions">所属产品</label>
                            <input id="ptid" type="hidden" value="">
                            <input id="pname" name="pname" type="hidden" value="">
                            <div class="col-md-9" id="types"></div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" onclick="saveUser()">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </div>
</div>